package day020;

import org.apache.commons.io.IOUtils;

import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;

public class Test1 {
    public static void main(String[] args) throws IOException {
        IOUtils.copy(new FileInputStream("D:\\day020\\dog.jpg"),
                new FileOutputStream("D:\\day020\\dog_copy.jpg"));
    }
}
